package com.cy.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author : 残影
 * @Date: 2022/4/23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("搜索用户的VO")
public class SearchUserVo {
    @ApiModelProperty("当前页")
    private Integer page = 0;

    @ApiModelProperty("每页限制的数量")
    private Integer limit = 10;

    @ApiModelProperty("搜索名称")
    private String name;

    @ApiModelProperty("隶属院系")
    private Long departmentId;

    @ApiModelProperty("隶属学院")
    private Long academyId;

    @ApiModelProperty("用户类型（0代表教师，1代表管理员）")
    private Integer userType;

}
